- 
		Home
	
 
	- 
WP Statistics – Simple, privacy-friendly Google Analytics alternative
 
- 
14.9
 
- 
Code
 
- 
Classes
 
-  Query 
 
	
	
		
			
				
					
													
								
																			
											| Total Complexity | 
											124 | 
										
																			
											| Dependencies | 
											4 | 
										
																			
											| Dependents | 
											5 | 
										
																	
							 
													
								
																			
											| Total lines | 
											617 | 
										
																			
											| Lines of code | 
											386 | 
										
																			
											| Logical lines of code | 
											260 | 
										
																	
							 
													
								
																			
											| Comment lines | 
											62 | 
										
																			
											| Methods | 
											31 | 
										
																			
											| Properties | 
											15 | 
										
																	
							 
											 
				 
									
							 
		 
	 
	Methods 31
	
		
		
			| Method | 
							Rating | 
													
					
						Maintainability
					
				 | 
										
					Complexity
				 | 
										
					Lines of code
				 | 
					
		
		
					
				| generateCondition() | 
									B  | 
																	43 | 
													20 | 
													43 | 
							
					
				| selectQuery() | 
									A  | 
																	49 | 
													10 | 
													32 | 
							
					
				| join() | 
									A  | 
																	51 | 
													8 | 
													23 | 
							
					
				| whereDate() | 
									A  | 
																	55 | 
													8 | 
													19 | 
							
					
				| orderBy() | 
									S  | 
																	50 | 
													7 | 
													29 | 
							
					
				| set() | 
									S  | 
																	56 | 
													6 | 
													18 | 
							
					
				| updateQuery() | 
									S  | 
																	58 | 
													5 | 
													15 | 
							
					
				| whereNotNull() | 
									S  | 
																	60 | 
													5 | 
													13 | 
							
					
				| whereNull() | 
									S  | 
																	60 | 
													5 | 
													13 | 
							
					
				| where() | 
									S  | 
																	60 | 
													5 | 
													12 | 
							
					
				| getVar() | 
									S  | 
																	59 | 
													4 | 
													15 | 
							
					
				| getAll() | 
									S  | 
																	59 | 
													4 | 
													15 | 
							
					
				| getCol() | 
									S  | 
																	59 | 
													4 | 
													15 | 
							
					
				| getRow() | 
									S  | 
																	59 | 
													4 | 
													15 | 
							
					
				| joinQuery() | 
									S  | 
																	63 | 
													3 | 
													9 | 
							
					
				| perPage() | 
									S  | 
																	64 | 
													3 | 
													9 | 
							
					
				| groupBy() | 
									S  | 
																	65 | 
													3 | 
													9 | 
							
					
				| select() | 
									S  | 
																	65 | 
													2 | 
													9 | 
							
					
				| getTable() | 
									S  | 
																	68 | 
													2 | 
													8 | 
							
					
				| whereRaw() | 
									S  | 
																	67 | 
													2 | 
													8 | 
							
					
				| whereRelation() | 
									S  | 
																	70 | 
													2 | 
													6 | 
							
					
				| buildQuery() | 
									S  | 
																	64 | 
													2 | 
													9 | 
							
					
				| prepareQuery() | 
									S  | 
																	71 | 
													2 | 
													6 | 
							
					
				| __construct() | 
									S  | 
																	77 | 
													1 | 
													4 | 
							
					
				| update() | 
									S  | 
																	70 | 
													1 | 
													6 | 
							
					
				| from() | 
									S  | 
																	76 | 
													1 | 
													4 | 
							
					
				| fromQuery() | 
									S  | 
																	75 | 
													1 | 
													4 | 
							
					
				| execute() | 
									S  | 
																	70 | 
													1 | 
													6 | 
							
					
				| getQuery() | 
									S  | 
																	73 | 
													1 | 
													5 | 
							
					
				| bypassCache() | 
									S  | 
																	77 | 
													1 | 
													4 | 
							
					
				| removeTablePrefix() | 
									S  | 
																	78 | 
													1 | 
													3 |